/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.rs.manager;

import com.xy.biz.rs.domain.bo.ManufactureRecordTemplateBO;
import com.xy.biz.rs.domain.query.ManufactureRecordTemplateQuery;

import java.util.Collection;
import java.util.List;

/**
 *
 *
 * @author zsp
 * @date 2021-4-13
 */
public interface ManufactureRecordTemplateManager {

	/**
	 * 保存
	 *
	 * @param manufactureRecordTemplateBO
	 */
	//ManufactureRecordTemplateBO saveManufactureRecordTemplate(ManufactureRecordTemplateBO manufactureRecordTemplateBO);

	/**
	 * 更新
	 *
	 * @param manufactureRecordTemplateBO
	 */
	int updateManufactureRecordTemplate(ManufactureRecordTemplateBO manufactureRecordTemplateBO);

	/**
	 * 删除
	 *
	 * @param manufactureRecordTemplateId
	 */
	int deleteManufactureRecordTemplate(Long manufactureRecordTemplateId);

	/**
	 * 查找一个
	 *
	 * @param manufactureRecordTemplateId
	 * @return
	 */
	ManufactureRecordTemplateBO getManufactureRecordTemplate(Long manufactureRecordTemplateId);

	/**
	 * 查找多个
	 *
	 * @param collection 标识集合
	 */
	List<ManufactureRecordTemplateBO> listManufactureRecordTemplateById(Collection<Long> collection);

	/**
	 * 查找多个
	 *
	 * @param query 查找条件
	 */
	List<ManufactureRecordTemplateBO> listManufactureRecordTemplate(ManufactureRecordTemplateQuery query);

	/**
	 * 统计个数
	 *
	 * @param query 查找条件
	 */
	int countManufactureRecordTemplate(ManufactureRecordTemplateQuery query);

}
